]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Handle fallback app icons in notifications
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Mar 2019 13:12:12 +0000 (14:12 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Mar 2019 15:20:21 +0000 (16:20 +0100)
Since commit 3eb80dc6c0, the size of notification icons is determined
by the theme to make it font-relative. Also handle the case where the
icon isn't an StIcon, but a fallback window icon.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1027

data/theme/gnome-shell-sass/_common.scss

index 9dedbdcd34dba66b74fd369cd2e22ab20edbc909..afd1be5dd1e4651ebadf932fc19d8a0cab25eaba 100644 (file)
@@ -1031,6 +1031,11 @@ StScrollBar {
             -st-icon-style: symbolic;
           }
 
+          .message-icon-bin > .fallback-window-icon {
+            width: 1.09em;
+            height: 1.09em;
+          }
+
           .message-secondary-bin {
             padding: 0 0.82em;;
           }